Optimal. Leaf size=83 \[ \frac {1}{8 a^2 b c^3 (a-b x)^2}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {3 \tanh ^{-1}\left (\frac {b x}{a}\right )}{8 a^4 b c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {46, 214}
\begin {gather*} \frac {3 \tanh ^{-1}\left (\frac {b x}{a}\right )}{8 a^4 b c^3}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {1}{8 a^2 b c^3 (a-b x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^2 (a c-b c x)^3} \, dx &=\int \left (\frac {1}{4 a^2 c^3 (a-b x)^3}+\frac {1}{4 a^3 c^3 (a-b x)^2}+\frac {1}{8 a^3 c^3 (a+b x)^2}+\frac {3}{8 a^3 c^3 \left (a^2-b^2 x^2\right )}\right ) \, dx\\ &=\frac {1}{8 a^2 b c^3 (a-b x)^2}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {3 \int \frac {1}{a^2-b^2 x^2} \, dx}{8 a^3 c^3}\\ &=\frac {1}{8 a^2 b c^3 (a-b x)^2}+\frac {1}{4 a^3 b c^3 (a-b x)}-\frac {1}{8 a^3 b c^3 (a+b x)}+\frac {3 \tanh ^{-1}\left (\frac {b x}{a}\right )}{8 a^4 b c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 68, normalized size = 0.82 \begin {gather*} \frac {\frac {2 a \left (2 a^2+3 a b x-3 b^2 x^2\right )}{(a-b x)^2 (a+b x)}-3 \log (a-b x)+3 \log (a+b x)}{16 a^4 b c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.78, size = 117, normalized size = 1.41 \begin {gather*} \frac {2 a \left (2 a^2+3 a b x-3 b^2 x^2\right )+3 \left (a^3-a^2 b x-a b^2 x^2+b^3 x^3\right ) \left (\text {Log}\left [\frac {a+b x}{b}\right ]-\text {Log}\left [\frac {-a+b x}{b}\right ]\right )}{16 a^4 b c^3 \left (a^3-a^2 b x-a b^2 x^2+b^3 x^3\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 82, normalized size = 0.99
method | result | size |
risch | \(\frac {-\frac {3 b \,x^{2}}{8 a^{3}}+\frac {3 x}{8 a^{2}}+\frac {1}{4 a b}}{\left (b x +a \right ) c^{3} \left (-b x +a \right )^{2}}-\frac {3 \ln \left (-b x +a \right )}{16 a^{4} c^{3} b}+\frac {3 \ln \left (b x +a \right )}{16 a^{4} c^{3} b}\) | \(80\) |
default | \(\frac {-\frac {3 \ln \left (-b x +a \right )}{16 a^{4} b}+\frac {1}{4 a^{3} b \left (-b x +a \right )}+\frac {1}{8 a^{2} b \left (-b x +a \right )^{2}}+\frac {3 \ln \left (b x +a \right )}{16 a^{4} b}-\frac {1}{8 a^{3} b \left (b x +a \right )}}{c^{3}}\) | \(82\) |
norman | \(\frac {\frac {1}{4 a b c}+\frac {3 x}{8 a^{2} c}-\frac {3 b \,x^{2}}{8 a^{3} c}}{\left (b x +a \right ) c^{2} \left (-b x +a \right )^{2}}-\frac {3 \ln \left (-b x +a \right )}{16 a^{4} c^{3} b}+\frac {3 \ln \left (b x +a \right )}{16 a^{4} c^{3} b}\) | \(89\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 108, normalized size = 1.30 \begin {gather*} -\frac {3 \, b^{2} x^{2} - 3 \, a b x - 2 \, a^{2}}{8 \, {\left (a^{3} b^{4} c^{3} x^{3} - a^{4} b^{3} c^{3} x^{2} - a^{5} b^{2} c^{3} x + a^{6} b c^{3}\right )}} + \frac {3 \, \log \left (b x + a\right )}{16 \, a^{4} b c^{3}} - \frac {3 \, \log \left (b x - a\right )}{16 \, a^{4} b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 146, normalized size = 1.76 \begin {gather*} -\frac {6 \, a b^{2} x^{2} - 6 \, a^{2} b x - 4 \, a^{3} - 3 \, {\left (b^{3} x^{3} - a b^{2} x^{2} - a^{2} b x + a^{3}\right )} \log \left (b x + a\right ) + 3 \, {\left (b^{3} x^{3} - a b^{2} x^{2} - a^{2} b x + a^{3}\right )} \log \left (b x - a\right )}{16 \, {\left (a^{4} b^{4} c^{3} x^{3} - a^{5} b^{3} c^{3} x^{2} - a^{6} b^{2} c^{3} x + a^{7} b c^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.25, size = 104, normalized size = 1.25 \begin {gather*} - \frac {- 2 a^{2} - 3 a b x + 3 b^{2} x^{2}}{8 a^{6} b c^{3} - 8 a^{5} b^{2} c^{3} x - 8 a^{4} b^{3} c^{3} x^{2} + 8 a^{3} b^{4} c^{3} x^{3}} - \frac {\frac {3 \log {\left (- \frac {a}{b} + x \right )}}{16} - \frac {3 \log {\left (\frac {a}{b} + x \right )}}{16}}{a^{4} b c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 93, normalized size = 1.12 \begin {gather*} \frac {3 \ln \left |x b+a\right |}{16 b a^{4} c^{3}}-\frac {3 \ln \left |x b-a\right |}{16 b a^{4} c^{3}}+\frac {\frac {1}{32} \left (-12 b^{2} a x^{2}+12 b a^{2} x+8 a^{3}\right )}{a^{4} c^{3} b \left (-x b+a\right )^{2} \left (x b+a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 86, normalized size = 1.04 \begin {gather*} \frac {\frac {3\,x}{8\,a^2}+\frac {1}{4\,a\,b}-\frac {3\,b\,x^2}{8\,a^3}}{a^3\,c^3-a^2\,b\,c^3\,x-a\,b^2\,c^3\,x^2+b^3\,c^3\,x^3}+\frac {3\,\mathrm {atanh}\left (\frac {b\,x}{a}\right )}{8\,a^4\,b\,c^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________